package com.tianze.library.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by kingtami.
 */
public class UpdateInfo {

    private String name;
    private int version;
    private String changelog;
    @SerializedName("updated_at")
    private int updatedAt;
    private String versionShort;
    private String build;
    private String installUrl;
    private String install_url;
    @SerializedName("direct_install_url")
    private String directInstallUrl;
    @SerializedName("update_url")
    private String updateUrl;
    @SerializedName("binary")
    private BinaryEntity binary;
    @SerializedName("VER")
    private String versionName = "";
    @SerializedName("REMARK")
    private String remark = "";
    @SerializedName("DOWNURL")
    private String downUrl = "";
    @SerializedName("ISREG")
    private String canRegister = "";
    @SerializedName("ISGAS")
    private String addGas = "";

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String pVersionName) {
        versionName = pVersionName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String pRemark) {
        remark = pRemark;
    }

    public String getDownUrl() {
        return downUrl;
    }

    public void setDownUrl(String pDownUrl) {
        downUrl = pDownUrl;
    }

    public String getCanRegister() {
        return canRegister;
    }

    public void setCanRegister(String pCanRegister) {
        canRegister = pCanRegister;
    }

    public String getAddGas() {
        return addGas;
    }

    public void setAddGas(String pAddGas) {
        addGas = pAddGas;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getChangelog() {
        return changelog;
    }

    public void setChangelog(String changelog) {
        this.changelog = changelog;
    }

    public int getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(int updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getVersionShort() {
        return versionShort;
    }

    public void setVersionShort(String versionShort) {
        this.versionShort = versionShort;
    }

    public String getBuild() {
        return build;
    }

    public void setBuild(String build) {
        this.build = build;
    }

    public String getInstallUrl() {
        return installUrl;
    }

    public void setInstallUrl(String pInstallUrl) {
        installUrl = pInstallUrl;
    }

    public String getInstall_url() {
        return install_url;
    }

    public void setInstall_url(String pInstall_url) {
        install_url = pInstall_url;
    }

    public String getDirectInstallUrl() {
        return directInstallUrl;
    }

    public void setDirectInstallUrl(String directInstallUrl) {
        this.directInstallUrl = directInstallUrl;
    }

    public String getUpdateUrl() {
        return updateUrl;
    }

    public void setUpdateUrl(String updateUrl) {
        this.updateUrl = updateUrl;
    }

    public BinaryEntity getBinary() {
        return binary;
    }

    public void setBinary(BinaryEntity binary) {
        this.binary = binary;
    }

    public static class BinaryEntity {
        @SerializedName("fsize")
        private int fSize;

        public int getfSize() {
            return fSize;
        }

        public void setfSize(int pFSize) {
            fSize = pFSize;
        }
    }
}
